package com.beney.message.bizz;

import com.beney.message.Message;

public class ChatSendResp implements Message {

    public static final String TYPE = "CHAT_SEND_RESP";

    public static final Integer CODE_SUCCESS = 0;

    private String msgId;

    /**
     * 消息状态码
     */
    private Integer code;

    /**
     * 响应的提示
     */
    private String message;

    public String getMsgId() {
        return msgId;
    }

    public ChatSendResp setMsgId(String msgId) {
        this.msgId = msgId;
        return this;
    }

    public Integer getCode() {
        return code;
    }

    public ChatSendResp setCode(Integer code) {
        this.code = code;
        return this;
    }

    public String getMessage() {
        return message;
    }

    public ChatSendResp setMessage(String message) {
        this.message = message;
        return this;
    }

    @Override
    public String toString() {
        return "ChatSendResp{" +
                "msgId='" + msgId + '\'' +
                ", code=" + code +
                ", message='" + message + '\'' +
                '}';
    }
}
